package com.example.rocketmq_demo.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class RocketMqMsgDto {

    /**
     * 一级消息：消息topic
     */
    private String topic;

    /**
     * 二级消息：消息topic对应的tags
     */
    private String tags;

    /**
     * 消息内容
     */
    private String content;

}